Optimal. Leaf size=74 \[ \frac {a}{2 b \left (a+b x^2\right ) (b c-a d)}+\frac {c \log \left (a+b x^2\right )}{2 (b c-a d)^2}-\frac {c \log \left (c+d x^2\right )}{2 (b c-a d)^2} \]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 74, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {446, 77} \begin {gather*} \frac {a}{2 b \left (a+b x^2\right ) (b c-a d)}+\frac {c \log \left (a+b x^2\right )}{2 (b c-a d)^2}-\frac {c \log \left (c+d x^2\right )}{2 (b c-a d)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 77
Rule 446
Rubi steps
\begin {align*} \int \frac {x^3}{\left (a+b x^2\right )^2 \left (c+d x^2\right )} \, dx &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {x}{(a+b x)^2 (c+d x)} \, dx,x,x^2\right )\\ &=\frac {1}{2} \operatorname {Subst}\left (\int \left (-\frac {a}{(b c-a d) (a+b x)^2}+\frac {b c}{(b c-a d)^2 (a+b x)}-\frac {c d}{(b c-a d)^2 (c+d x)}\right ) \, dx,x,x^2\right )\\ &=\frac {a}{2 b (b c-a d) \left (a+b x^2\right )}+\frac {c \log \left (a+b x^2\right )}{2 (b c-a d)^2}-\frac {c \log \left (c+d x^2\right )}{2 (b c-a d)^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 74, normalized size = 1.00 \begin {gather*} \frac {a}{2 b \left (a+b x^2\right ) (b c-a d)}+\frac {c \log \left (a+b x^2\right )}{2 (b c-a d)^2}-\frac {c \log \left (c+d x^2\right )}{2 (b c-a d)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^3}{\left (a+b x^2\right )^2 \left (c+d x^2\right )} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.82, size = 117, normalized size = 1.58 \begin {gather*} \frac {a b c - a^{2} d + {\left (b^{2} c x^{2} + a b c\right )} \log \left (b x^{2} + a\right ) - {\left (b^{2} c x^{2} + a b c\right )} \log \left (d x^{2} + c\right )}{2 \, {\left (a b^{3} c^{2} - 2 \, a^{2} b^{2} c d + a^{3} b d^{2} + {\left (b^{4} c^{2} - 2 \, a b^{3} c d + a^{2} b^{2} d^{2}\right )} x^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.38, size = 92, normalized size = 1.24 \begin {gather*} -\frac {\frac {b^{2} c \log \left ({\left | \frac {b c}{b x^{2} + a} - \frac {a d}{b x^{2} + a} + d \right |}\right )}{b^{3} c^{2} - 2 \, a b^{2} c d + a^{2} b d^{2}} - \frac {a b}{{\left (b^{2} c - a b d\right )} {\left (b x^{2} + a\right )}}}{2 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 95, normalized size = 1.28 \begin {gather*} -\frac {a^{2} d}{2 \left (a d -b c \right )^{2} \left (b \,x^{2}+a \right ) b}+\frac {a c}{2 \left (a d -b c \right )^{2} \left (b \,x^{2}+a \right )}+\frac {c \ln \left (b \,x^{2}+a \right )}{2 \left (a d -b c \right )^{2}}-\frac {c \ln \left (d \,x^{2}+c \right )}{2 \left (a d -b c \right )^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.08, size = 105, normalized size = 1.42 \begin {gather*} \frac {c \log \left (b x^{2} + a\right )}{2 \, {\left (b^{2} c^{2} - 2 \, a b c d + a^{2} d^{2}\right )}} - \frac {c \log \left (d x^{2} + c\right )}{2 \, {\left (b^{2} c^{2} - 2 \, a b c d + a^{2} d^{2}\right )}} + \frac {a}{2 \, {\left (a b^{2} c - a^{2} b d + {\left (b^{3} c - a b^{2} d\right )} x^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.31, size = 172, normalized size = 2.32 \begin {gather*} \frac {a\,\left (b\,c+b\,c\,\mathrm {atan}\left (\frac {a\,d\,x^2\,1{}\mathrm {i}-b\,c\,x^2\,1{}\mathrm {i}}{2\,a\,c+a\,d\,x^2+b\,c\,x^2}\right )\,2{}\mathrm {i}\right )-a^2\,d+b^2\,c\,x^2\,\mathrm {atan}\left (\frac {a\,d\,x^2\,1{}\mathrm {i}-b\,c\,x^2\,1{}\mathrm {i}}{2\,a\,c+a\,d\,x^2+b\,c\,x^2}\right )\,2{}\mathrm {i}}{2\,a^3\,b\,d^2-4\,a^2\,b^2\,c\,d+2\,a^2\,b^2\,d^2\,x^2+2\,a\,b^3\,c^2-4\,a\,b^3\,c\,d\,x^2+2\,b^4\,c^2\,x^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 1.91, size = 253, normalized size = 3.42 \begin {gather*} - \frac {a}{2 a^{2} b d - 2 a b^{2} c + x^{2} \left (2 a b^{2} d - 2 b^{3} c\right )} - \frac {c \log {\left (x^{2} + \frac {- \frac {a^{3} c d^{3}}{\left (a d - b c\right )^{2}} + \frac {3 a^{2} b c^{2} d^{2}}{\left (a d - b c\right )^{2}} - \frac {3 a b^{2} c^{3} d}{\left (a d - b c\right )^{2}} + a c d + \frac {b^{3} c^{4}}{\left (a d - b c\right )^{2}} + b c^{2}}{2 b c d} \right )}}{2 \left (a d - b c\right )^{2}} + \frac {c \log {\left (x^{2} + \frac {\frac {a^{3} c d^{3}}{\left (a d - b c\right )^{2}} - \frac {3 a^{2} b c^{2} d^{2}}{\left (a d - b c\right )^{2}} + \frac {3 a b^{2} c^{3} d}{\left (a d - b c\right )^{2}} + a c d - \frac {b^{3} c^{4}}{\left (a d - b c\right )^{2}} + b c^{2}}{2 b c d} \right )}}{2 \left (a d - b c\right )^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________